package com.ioffice.export.excel.engine.data.excel;

import com.ioffice.export.excel.data.ExcelSheetDataInfo;
import com.ioffice.export.excel.sheet.cell.SheetCell;

public class EngineDataSheetCell {

	public static SheetCell getSheetCell(ExcelSheetDataInfo dataInfo){
		SheetCell cell=new SheetCell();
		cell.setCellValue(dataInfo.getValue());
		cell.setLevel(dataInfo.getChildLevel());
		return cell;
	}
	
	public static void addChidrenSheetCell(SheetCell parent,SheetCell child){
		parent.addSheetCell(child);	
	}
	
}
